-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Refactor] Extend REPL to support external metadata storage and data storage #381
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
noCharger
force-pushed
the
repl-refactor
branch
12 times, most recently
from
June 20, 2024 07:01
3cc87db
to
22965c0
Compare
noCharger
force-pushed
the
repl-refactor
branch
5 times, most recently
from
June 21, 2024 23:45
84312d5
to
35ed065
Compare
seankao-az
reviewed
Jun 22, 2024
flint-commons/src/main/scala/org/opensearch/flint/data/InteractiveSession.scala
Outdated
Show resolved
Hide resolved
flint-commons/src/main/scala/org/opensearch/flint/data/InteractiveSession.scala
Outdated
Show resolved
Hide resolved
spark-sql-application/src/main/scala/org/apache/spark/sql/FlintJobExecutor.scala
Outdated
Show resolved
Hide resolved
spark-sql-application/src/main/scala/org/apache/spark/sql/FlintREPL.scala
Outdated
Show resolved
Hide resolved
spark-sql-application/src/main/scala/org/apache/spark/sql/InMemoryQueryExecutionState.scala
Outdated
Show resolved
Hide resolved
spark-sql-application/src/main/scala/org/apache/spark/sql/SessionManagerImpl.scala
Outdated
Show resolved
Hide resolved
flint-spark-integration/src/main/scala/org/apache/spark/sql/flint/config/FlintSparkConf.scala
Outdated
Show resolved
Hide resolved
spark-sql-application/src/main/scala/org/apache/spark/sql/SessionManagerImpl.scala
Outdated
Show resolved
Hide resolved
kaituo
reviewed
Jun 25, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides CI, what manual tests have you done? Have you done the following two:
First, can we stop a job when another job exclude it using exclude id?
Second, if a query takes too long, will we can cancel the query?
spark-sql-application/src/main/scala/org/apache/spark/sql/FlintJob.scala
Outdated
Show resolved
Hide resolved
noCharger
force-pushed
the
repl-refactor
branch
from
August 9, 2024 21:27
2222fd0
to
f6b7dc1
Compare
seankao-az
reviewed
Aug 13, 2024
flint-spark-integration/src/main/scala/org/apache/spark/sql/flint/config/FlintSparkConf.scala
Show resolved
Hide resolved
noCharger
force-pushed
the
repl-refactor
branch
3 times, most recently
from
August 15, 2024 15:43
ff41d16
to
1b277ad
Compare
noCharger
force-pushed
the
repl-refactor
branch
from
August 15, 2024 19:14
1b277ad
to
5be10cf
Compare
noCharger
changed the title
REPL refactor
[Refactor] Extend REPL to support external metadata storage and data storage
Aug 16, 2024
noCharger
requested review from
dai-chen,
rupal-bq,
vmmusings,
penghuo,
anirudha and
YANG-DB
as code owners
August 16, 2024 03:33
noCharger
force-pushed
the
repl-refactor
branch
from
August 17, 2024 00:06
dac235d
to
96d61bd
Compare
Signed-off-by: Louis Chu <[email protected]>
Signed-off-by: Louis Chu <[email protected]>
Signed-off-by: Louis Chu <[email protected]>
Signed-off-by: Louis Chu <[email protected]>
Signed-off-by: Louis Chu <[email protected]>
noCharger
force-pushed
the
repl-refactor
branch
from
August 20, 2024 20:47
96d61bd
to
25f674f
Compare
Signed-off-by: Louis Chu <[email protected]>
noCharger
force-pushed
the
repl-refactor
branch
from
August 23, 2024 00:27
25f674f
to
93f2e71
Compare
kaituo
approved these changes
Aug 23, 2024
seankao-az
approved these changes
Aug 27, 2024
Signed-off-by: Louis Chu <[email protected]>
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Aug 28, 2024
…storage (#381) * REPL refactor Signed-off-by: Louis Chu <[email protected]> * Ignore UT Signed-off-by: Louis Chu <[email protected]> * Add seqNo and primaryTerm to session object Signed-off-by: Louis Chu <[email protected]> * Address os client concurrency limitation Signed-off-by: Louis Chu <[email protected]> * Add interface for query execution Signed-off-by: Louis Chu <[email protected]> * Clean up logs and add UTs Signed-off-by: Louis Chu <[email protected]> * Clean up and fix UTs Signed-off-by: Louis Chu <[email protected]> --------- Signed-off-by: Louis Chu <[email protected]> (cherry picked from commit aa509ac) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Aug 28, 2024
…storage (#381) * REPL refactor Signed-off-by: Louis Chu <[email protected]> * Ignore UT Signed-off-by: Louis Chu <[email protected]> * Add seqNo and primaryTerm to session object Signed-off-by: Louis Chu <[email protected]> * Address os client concurrency limitation Signed-off-by: Louis Chu <[email protected]> * Add interface for query execution Signed-off-by: Louis Chu <[email protected]> * Clean up logs and add UTs Signed-off-by: Louis Chu <[email protected]> * Clean up and fix UTs Signed-off-by: Louis Chu <[email protected]> --------- Signed-off-by: Louis Chu <[email protected]> (cherry picked from commit aa509ac) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
noCharger
pushed a commit
that referenced
this pull request
Aug 28, 2024
…storage (#381) (#605) * REPL refactor * Ignore UT * Add seqNo and primaryTerm to session object * Address os client concurrency limitation * Add interface for query execution * Clean up logs and add UTs * Clean up and fix UTs --------- (cherry picked from commit aa509ac) Signed-off-by: Louis Chu <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
noCharger
pushed a commit
that referenced
this pull request
Sep 8, 2024
…storage (#381) (#604) * REPL refactor * Ignore UT * Add seqNo and primaryTerm to session object * Address os client concurrency limitation * Add interface for query execution * Clean up logs and add UTs * Clean up and fix UTs --------- (cherry picked from commit aa509ac) Signed-off-by: Louis Chu <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This is the last PR of [RFC] Flint main class refactor
FlintReader
for reading request metadata (statement doc), now is moved to StatementsExecutionManagerImplosClient
for reading request metadata (session doc), now is moved to SessionManagerImplosClient
for writing result data, now is moved to QueryResultWriterImplOpenSearchUpdater
for write request metadata (session doc and statement doc), now is moved to SessionManagerImpl and StatementsExecutionManagerImplIssues Resolved
#376
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.